package com.ityedao.IO字节流.文件字节输入流.一次读取完全部字节;

import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class FileInputStreamTest2 {
    public static void main(String[] args) throws Exception {
        FileInputStream is = new FileInputStream("src\\ityedao3.txt");
        byte[] buffer = is.readAllBytes();
        String rs = new String(buffer);
        System.out.println(rs);
        is.close();
    }
}
